package com.zzyl.nursing.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 设备数据传输对象（DeviceDto）
 * 用于接收和传递设备相关的信息，如设备名称、绑定位置、产品信息等。
 * @author Administrator
 */
@Data
@ApiModel("设备数据传输对象")
public class DeviceDto {
    @ApiModelProperty(value = "设备id")
    private String iotId;
    
    @ApiModelProperty(value = "设备名称", example = "睡眠检测带01")
    private String deviceName;
    
    @ApiModelProperty(value = "绑定位置ID，此处为床位ID", example = "1")
    private String bindingLocation;
    
    @ApiModelProperty(value = "位置类型：0-随身设备，1-固定设备", example = "1")
    private Integer locationType;
    @ApiModelProperty(value = "节点ID", example = "sm01")
    private String nodeId;
    
    @ApiModelProperty(value = "物理位置类型：0-楼层，1-房间，2-床位", example = "2")
    private Integer physicalLocationType;
    
    @ApiModelProperty(value = "产品Key", example = "6625d6d171d845632a067c9f")
    private String productKey;
    
    @ApiModelProperty(value = "产品名称", example = "睡眠检测带")
    private String productName;
    
    @ApiModelProperty(value = "备注信息，描述设备所在位置", example = "1楼,101,101-1")
    private String remark;
    
    @ApiModelProperty(value = "设备描述信息，格式为楼层id,房间id,床位id", example = "1,1,5")
    private String deviceDescription;
}
